package com.salesmanager.core.business.app.dao;

import com.salesmanager.core.business.app.model.AndroidChannel;
import com.salesmanager.core.business.generic.dao.SalesManagerEntityDao;
import com.salesmanager.core.business.statistics.model.AppChannelCriteria;
import com.salesmanager.web.model.paging.PaginationDataList;

import java.util.List;

/**
 * Created by Liutong on 2016/1/13.
 */
public interface AppChannelDao extends SalesManagerEntityDao<Long,AndroidChannel> {

    PaginationDataList<AndroidChannel> getAppChannelList(AppChannelCriteria criteria);

    AndroidChannel getByChannelCode(String channelCode);

    void deleteById(Long channelId);

    List<AndroidChannel> getChannelCodes();
}
